import uvicorn

from fastapi import FastAPI

from routes.routes import router  # 导入路由

app = FastAPI()

app.include_router(router)  # 加载路由

if __name__ == "__main__":
    uvicorn.run("main:app", host="0.0.0.0", port=8003, reload=True)